package main.java.game.item.equipableTreasure;

import main.java.game.combatant.Hero;
import main.java.game.item.Equipable;
import main.java.game.item.Treasure;

public abstract class EquipableTreasure extends Equipable implements Treasure {

	private Integer lpValue;
	private Integer sellingPrice;
	private Integer level;
	
	public EquipableTreasure (String name, Integer defenseValue, Integer attackValue, Integer initValue, Integer lpValue, Integer sellingPrice, Integer level){
		super(name,defenseValue,attackValue,initValue);
		this.setLpValue(lpValue);
		this.setSellingPrice(sellingPrice);
		this.setLevel(level);
	}
	
	@Override
	public abstract void equip(Hero hero);
		

	@Override
	public abstract void unequip(Hero hero);

	public void setLpValue(Integer lpValue) {
		this.lpValue = lpValue;
	}

	public Integer getLpValue() {
		return lpValue;
	}

	@Override
	public Integer getLevel() {
		return level;
	}

	@Override
	public void setLevel(Integer level) {
		this.level=level;
	}

	@Override
	public Integer getSellingPrice() {
		return sellingPrice;
	}

	@Override
	public void setSellingPrice(Integer sellingPrice) {
		this.sellingPrice=sellingPrice;
	}

}
